package com.example.demo.entity;

import java.io.Serializable;

public class ShareTemplate implements Serializable {
    private Integer shareTemplateId;

    private Integer sharePublisherId;

    private String shareContent;

    private Integer shareTemplateTemplayeId;

    private static final long serialVersionUID = 1L;

    public Integer getShareTemplateId() {
        return shareTemplateId;
    }

    public void setShareTemplateId(Integer shareTemplateId) {
        this.shareTemplateId = shareTemplateId;
    }

    public Integer getSharePublisherId() {
        return sharePublisherId;
    }

    public void setSharePublisherId(Integer sharePublisherId) {
        this.sharePublisherId = sharePublisherId;
    }

    public String getShareContent() {
        return shareContent;
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent == null ? null : shareContent.trim();
    }

    public Integer getShareTemplateTemplayeId() {
        return shareTemplateTemplayeId;
    }

    public void setShareTemplateTemplayeId(Integer shareTemplateTemplayeId) {
        this.shareTemplateTemplayeId = shareTemplateTemplayeId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", shareTemplateId=").append(shareTemplateId);
        sb.append(", sharePublisherId=").append(sharePublisherId);
        sb.append(", shareContent=").append(shareContent);
        sb.append(", shareTemplateTemplayeId=").append(shareTemplateTemplayeId);
        sb.append("]");
        return sb.toString();
    }
}